FROM python:3.11.4-bullseye

WORKDIR /app

COPY requirements_ubuntu.txt /app/

RUN pip install --no-cache-dir -r requirements_ubuntu.txt

COPY . /app/

EXPOSE 8000

CMD python3 -m uvicorn main:app --reload --ssl-keyfile='/app/localhost.key' --ssl-certfile='/app/localhost.crt' --host 0.0.0.0 --port 8000
